﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/List.Master" AutoEventWireup="true" CodeBehind="ProjectOverview_List.aspx.cs" Inherits="Honestysoft.Financing.WebUI.Module.Project.ProjectOverview_List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript" type="text/javascript">
        function openwindow(url, name) {
            var iWidth = 940; //弹出窗口的宽度;
            var iHeight = window.screen.availHeight - 30; //弹出窗口的高度;
            var iTop = (window.screen.availHeight - 30 - iHeight) / 2; //获得窗口的垂直位置;
            var iLeft = (window.screen.availWidth - 10 - iWidth) / 2; //获得窗口的水平位置;
            window.open(url, name, 'height=' + iHeight + ',innerHeight=' + iHeight + ',width=' + iWidth + ',innerWidth=' + iWidth + ',top=' + iTop + ',left=' + iLeft + ',toolbar=no,menubar=no,scrollbars=yes,resizeable=no,location=no,status=no');
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="query_area">
        项目单位：<asp:DropDownList ID="ddlProjectCategory" runat="server" cssClass="input2" ></asp:DropDownList>&nbsp;&nbsp;
		编号：<asp:TextBox ID="txtSN" runat="server"  cssClass="input2" MaxLength="200" Width="80px"></asp:TextBox>&nbsp;&nbsp;		
		项目名称：<asp:TextBox ID="txtName" runat="server"  cssClass="input2" MaxLength="200" Width="150px"></asp:TextBox>
        <asp:Button runat="server" ID="btnQuery" Text="查 找" CssClass="btn_normal" 
			onMouseOver="this.className='btn_active'" 
            onMouseOut="this.className='btn_normal'" onclick="btnQuery_Click"/>
    </div> 
    <div class="infoContainer">
    温馨提示：本功能采用了微软Office在线编辑控件，请点击查看<a href="Remark/dsoframer_Install.htm" target="_blank" style="color:Blue;font-weight:700">安装说明</a> 
    </div>
     <table cellpadding="0" width="100%" cellspacing="0" border="1" class="t1" id="tGrid">
		<thead>  
            <th align="center" width="120px">项目单位</th>
            <th align="center" width="30px">编号</th>
            <th align="center">项目名称</th>
            <th align="center" width="60px">项目简介</th>
            <th width="40px">操作</th>
      	</thead>           
		<asp:Repeater runat="server" ID="rptList">
			<ItemTemplate>
				<tr>
                    <td><%#  DataBinder.Eval(Container.DataItem, "ProjectCategoryName")%></td>
					<td><%#  DataBinder.Eval(Container.DataItem,"SN") %></td>
					<td align="left"><%# GetEditUrl(DataBinder.Eval(Container.DataItem, "Name") + "", DataBinder.Eval(Container.DataItem, "ID") + "", DataBinder.Eval(Container.DataItem, "SN")+"")%></td>
					<td ><%# Honestysoft.Baseframework.WebUI.ScriptHelper.Image.GetBooleanImage(Convert.ToBoolean( DataBinder.Eval(Container.DataItem,"IsOverview"))) %></td>
                   <td>
						<%# GetButtonScript(DataBinder.Eval(Container.DataItem, "ID") + "", DataBinder.Eval(Container.DataItem, "SN") + "", DataBinder.Eval(Container.DataItem, "Name")+"")%>
					</td>
				</tr>  
			</ItemTemplate>
		</asp:Repeater>
    </table>
    <div  class="paging_area" >
    <frameworkwebcontrols:aspnetpager id="AspNetPager1" runat="server"
                    alwaysshow="true" firstpagetext="首页" lastpagetext="尾页" nextpagetext="下一页" pageindexboxtype="DropDownList"
                    prevpagetext="上一页" showpageindex="true" showcustominfosection="Right" submitbuttontext="Go"
                    textafterpageindexbox="页" textbeforepageindexbox="转到" currentpagebuttonposition="End"
                    layouttype="Div" custominfotextalign="Right" custominfohtml="共%RecordCount%条记录。第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条"
                    direction="LeftToRight" onpagechanged="AspNetPager1_PageChanged">
                </frameworkwebcontrols:aspnetpager>            
    </div>
</asp:Content>
